<?php
/**
 * User:chendenan
 * Created On 2022/3/22 0022 21:37
 */
namespace app\common\lib;
class Key {
    /**
     * userCart 记录用户购物车的 redis key
     * @param $userId
     * @return string
     */
    public static function userCart($userId){
        return config("redis.cart_pre").$userId;
    }
}